Skip to content

fix(shared): truncate company badge overflow#5900

Merged
rebelchris merged 3 commits intomainfrom
eng-1274-feedback-ux-issue-company-font-size-is-too-large-and-lacks
Apr 21, 2026
Merged

fix(shared): truncate company badge overflow#5900
rebelchris merged 3 commits intomainfrom
eng-1274-feedback-ux-issue-company-font-size-is-too-large-and-lacks

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

@rebelchris rebelchris commented Apr 21, 2026

Summary

  • fix verified company badge overflow in the post sidebar user card
  • default the company name typography in VerifiedCompanyUserBadge to Footnote
  • keep truncation behavior in the shared badge while letting existing consumers override typography when needed

Key Decisions

  • added the truncation behavior in the shared badge so constrained layouts do not need to reimplement overflow handling
  • used a shared default typography to avoid future showCompanyName consumers falling back to browser default text sizing
  • kept ProfileHeader overrides intact while simplifying UserEntityCard

Closes ENG-1274


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1274-feedback-ux-issue-compa.preview.app.daily.dev

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Apr 21, 2026 7:53am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Apr 21, 2026 7:53am

Request Review

@rebelchris rebelchris merged commit 4ea47b7 into main Apr 21, 2026
13 checks passed
@rebelchris rebelchris deleted the eng-1274-feedback-ux-issue-company-font-size-is-too-large-and-lacks branch April 21, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant